﻿<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
    <!--_meta 作为公共模版分离出去-->
    <% layout("/common/_meta.html",{title:"商品管理"}){} %>
    <!--_meta 作为公共模版分离出去-->
    <%

    %>
</head>
<body>
<div class="wap-container">
    <nav class="breadcrumb" style="background-color:#fff;padding: 0 24px">首页<span class="c-gray en">/</span>导购中心<span class="c-gray en">/</span>商品导购<a class="btn btn-success radius f-r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
    <article class="Hui-admin-content clearfix">
        <div id="slider-3">
            <div class="slider">
                <div class="bd">
                    <ul>
                        <li><a href="javascript:void(0);"><img src="${ctxPath}/static/business/images/b1.png" height="500"></a></li>
                        <li><a href="javascript:void(0);"><img src="${ctxPath}/static/business/images/b2.png" height="500"></a></li>
                        <li><a href="javascript:void(0);"><img src="${ctxPath}/static/business/images/b3.png" height="500"></a></li>
                        <li><a href="javascript:void(0);"><img src="${ctxPath}/static/business/images/b4.png" height="500"></a></li>
                    </ul>
                </div>
                <ol class="hd cl dots">
                    <li>微软Surface Pro 9 二合一平板电脑 i7 16G+256G 亮铂金 13英寸120Hz触控屏 学生平板 笔记本电脑</li>
                    <li>机械革命（MECHREVO）蛟龙16 Pro 16英寸游戏电竞笔记本电脑（R9-7945HX 16G 1T RTX4060 240HZ 2.5K 白）</li>
                    <li>联想(Lenovo)台式机电脑主机 扬天M4000q 英特尔酷睿i3(i3-12100 8G 512G Type-C Win11)21.45英寸整机</li>
                    <li>戴尔dell 成就3020T 台式电脑13代酷睿i7商用办公设计制图家用游戏直播电脑主机 主机+GTX1660S-6G独显 i7-13700 64G 1T+512G固态 定制</li>
                </ol>
            </div>
        </div>
        <div class="panel panel-warning mt-20">
            <div class="panel-header">商家列表</div>
            <div class="panel-body pd-20">
                <table class="table">
                    <tr>
                        <%for(department in departments!){%>
                        <td class="text-c">
                            <img src="${department.logo}" width="240" height="180"><br>
                            <h4>${department.name}</h4>
                        </td>
                        <%}%>
                    </tr>
                </table>

            </div>
        </div>
        <div class="panel panel-warning mt-20">
            <div class="panel-header">推荐商品</div>
            <div class="panel-body pd-20">
                <table class="table">
                    <tr>
                        <%for(item in items!){%>
                        <td class="text-c">
                            <a href="${ctxPath}/center/item?id=${item.id}" target="_self">
                                <img src="${item.mainImg1Url}" width="240" height="180"><br>
                                <h4>${item.title}【${item.categoryName}】</h4>
                            </a>
                        </td>
                        <%}%>
                    </tr>
                </table>

            </div>
        </div>

    </article>
</div>

<!--_footer 作为公共模版分离出去-->
<% layout("/common/_footer.html"){} %>
<script type="text/javascript" src="${ctxPath}/static/lib/jquery.SuperSlide/2.1.1/jquery.SuperSlide.min.js"></script>
<!--/_footer 作为公共模版分离出去-->
<script type="text/javascript">
    $(function () {
        jQuery("#slider-3 .slider").slide({mainCell:".bd ul",titCell:".hd li",trigger:"click",effect:"leftLoop",autoPlay:true,delayTime:700,interTime:7000,pnLoop:false,titOnClassName:"active"})
        // 操作提示
        var code = $("#code").val();
        var msg = $("#msg").val();
        if (msg.length > 0) {
            layer_msg(code, msg);
        }
    });
</script>
</body>
</html>
